//
//  SecondCell.m
//  TeamProject_1.0
//
//  Created by lanou3g on 15/12/8.
//  Copyright © 2015年 wey. All rights reserved.
//

#import "SecondCell.h"
#import "FirstModel.h"
@interface SecondCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *nickName;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UIImageView *userIconView;

@end

@implementation SecondCell

- (void)setModel:(FirstModel *)model {
    _model = model;
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:model.index_cover] placeholderImage:[UIImage imageNamed:placeHolder]];
    self.title.text = model.index_title;
   }


- (void)awakeFromNib {
    
    self.contentView.backgroundColor = [UIColor yellowColor];
}
@end
